#include <Windows.h>
#include "resource.h"
#include "Card.h"
#include "ValidateCardDlg.h"
#include "Account.h"
#include "common.h"

HINSTANCE hGlobalInst = NULL;
CCard g_Card;
CAccount g_Account;
int g_iTransID = 0; 
int g_nCount = MAX_INVALID;
char g_sCardIDInput[18];
char g_sCardIDInputBefore[18];
char g_sNewPIN[8];
char g_sNewPINRepeat[8];

#ifndef _CPPUNIT

int WINAPI WinMain(HINSTANCE hInst, HINSTANCE h0, LPTSTR lpCmdLine, int nCmdShow)
{
    hGlobalInst = hInst;
    CValidateCardDlg objValidCard(hGlobalInst, NULL);
    return 0;
}

#endif